<html>
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
		 <link rel="stylesheet" href="<?php echo Yii::app()->request->baseUrl; ?><?php echo Yii::app()->user->getPresentacionRol();?>" type="text/css">
	</head>
	<body>

<?php
if($flashes = Yii::app()->user->getFlashes()) {
    foreach($flashes as $key => $message) {
        if($key != 'counters') {
			$cjuidialog['content']=$message['content'];
            $this->beginWidget('zii.widgets.jui.CJuiDialog', array(
                        'id'=>'dialog',
						'cssFile'=>'jquery-ui.css',
                        'options'=>array(
                            'show' => 'blind',
                            'hide' => 'explode',
                            'modal' => 'true',
                            'title' => $message['title'],
                            'autoOpen'=>true,
							'buttons' => array(
							'Ok'=>'js:function(){$("#dialog").dialog("close"); }')
                            ),
                        ));
			echo $cjuidialog['content'];

            $this->endWidget('zii.widgets.jui.CJuiDialog');
        }
    }
}
?>

	</body>
</html>